<template>
    <van-swipe class="my-swipe sdy-detail-banner" :autoplay="3000" indicator-color="red">
        <van-swipe-item v-for="item in list" :key="item">
            <img :src="item" />
        </van-swipe-item>
    </van-swipe>
</template>

<script setup lang="ts" name="sdyDetailBanner">
defineProps<{ list: string[] }>()



</script>

<style lang="scss">
.sdy-detail-banner {
    width: 100%;
    height: 390px;
    padding-bottom: 30px;

    img {
        width: 100%;
        height: 100%;
        display: block;
    }
}
</style>